package com.ylxl.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author：Gilbert
 * @Date：2023/5/31 21:06
 * @Version 1.0
 */
@Data
@TableName("materia_program")
public class MateriaProgram {
    @ApiModelProperty(value="中间表id",required = false)
    @TableId(type = IdType.AUTO) //主键自增
    private Integer id;
    @ApiModelProperty(value="素材id",required = false)
    private Integer materiaId;
    @ApiModelProperty(value="节目id",required = false)
    private Integer programId;
}
